package com.zg.message.domain.req;

import com.zg.common.core.req.AddReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/22 15:05
 */

@Data
@ApiModel
@NoArgsConstructor
public class MsgConfigAddReq extends AddReq {
    // 目标 ID，NUMBER 类型
    @ApiModelProperty(value = "目标ID")
    @NotNull
    private Long targetId;

    @ApiModelProperty(value = "目标类型")
    @NotEmpty(message = "目目标类型不能为空")
    private String targetType;
    // 目标名称，VARCHAR2(200)
    @ApiModelProperty(value = "目标名称")
    @NotEmpty(message = "目目标名称不能为空")
    private String targetName;
    // 目标用户，VARCHAR2(1024)
    @ApiModelProperty(value = "目标类型")
    @NotEmpty(message = "目标类型不能为空")
    private String targetUser;
    // 电话，VARCHAR2(100)
    @ApiModelProperty(value = "联系电话")
    @NotEmpty(message = "联系电话不能为空")
    private String phone;
    // 通知类型，VARCHAR2(100)
    @ApiModelProperty(value = "通知类型")
    @NotEmpty(message = "通知类型不能为空")
    private String bizType;
}
